/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.com.pps.dao;

import java.util.List;
import vn.com.pps.entities.Pupil;

/**
 *
 * @author Dai
 */
public interface IPupilDAO {

    public int getCount();
    
    public Pupil getPupil(Integer id);
    
    public int insert(Pupil pupil);
    
    public int update(Pupil pupil);

    public int delete (int id);
     
    public List<Pupil> getPupils();

    public Page<Pupil> getPupils(int pageNo, int pageSize, String whereClause);
   
    public int getCount(String whereClause);
    
    public boolean findPupilbyPhone(String phone);
    
   
}
